package com.example.actordemo1.routering;

import akka.actor.AbstractActor;

public class RouterActor extends AbstractActor {
    @Override
    public Receive createReceive() {
        return receiveBuilder().matchAny(o->{
            System.out.println(getContext().parent()+"routering ............."+self().path()+o);
        }).build();
    }
}
